﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Main
{
    public AssetProcedure assetProcedure;
    private static Main instance;
    public static Main Instance {
        get
        {
            if (instance == null)
            {
                instance = new Main();
            }

            return instance;
        }
    }

    public Main()
    {
        
    }
    
    private void Init()
    {
        Debug.Log("-------------------");
        assetProcedure = new AssetProcedure();
        assetProcedure.Init();
    }

    // Update is called once per frame


    public void OnDestroy()
    {
        assetProcedure?.Shutdown();
    }
}